using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using MINERP.DAL.PinBan;

namespace MINERP.BLL.PinBan
{
    public class BLLLoadOrder
    {
        DALLoadOrder dalLoadOrder = new DALLoadOrder();

        public DataSet GetPhoto(int printID, int paperTypeID, int paperFaceID, int anypapertypeID, int anypaperfaceID, string subSql)
        {
            return dalLoadOrder.GetPhoto(printID, paperTypeID, paperFaceID, anypapertypeID, anypaperfaceID, subSql);
        }

        public DataSet GetPhoto(int printID, int paperTypeID, int paperFaceID, int anypapertypeID, int anypaperfaceID, string subSql,int totalCount)
        {
            return dalLoadOrder.GetPhoto(printID, paperTypeID, paperFaceID, anypapertypeID, anypaperfaceID, subSql, totalCount);
        }

        public DataSet GetdsMakeup()
        {
            return dalLoadOrder.GetdsMakeup();
        }

        public DataSet GetdsBoard()
        {
            return dalLoadOrder.GetdsBoard();
        }

        public int InsertMakeup(DataSet dsMakeup, DataSet dsBoard,int photoStatus,out int boardid,int workerId)
        {
            return dalLoadOrder.InsertMakeup(dsMakeup, dsBoard, photoStatus,out boardid,workerId);
        }

        public int ChangePhotoPrint(int[] photoIDs, int printID)
        {
            return dalLoadOrder.ChangePhotoPrint(photoIDs, printID);
        }

        public void Logoff(string staffNo, int printID)
        {
            dalLoadOrder.Logoff(staffNo, printID);
        }

        public void GetAnyPaperTypeFace(out int anyPaperTypeID, out int anyPaperFaceID)
        {
            dalLoadOrder.GetAnyPaperTypeFace(out anyPaperTypeID, out anyPaperFaceID);
        }

        public DataSet GetBoardPhoto(int boardID)
        {
            return dalLoadOrder.GetBoardPhoto(boardID);
        }

        public int InsertMakeup2(DataSet dsMakeup, DataSet dsBoard, int photoStatus, out int boardid,int workerId)
        {
            return dalLoadOrder.InsertMakeup2(dsMakeup, dsBoard, photoStatus, out boardid,workerId);
        }

        public void UpdatePhotoStatus(int PrinterID)
        {
            dalLoadOrder.UpdatePhotoStatus(PrinterID);
        }

        public string GetBigPicSavePath()
        {
            return dalLoadOrder.GetBigPicSavePath();
        }
    }
}
